package com.ruoyi.tsjData.domain.plat;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.convert.ArrayToJsonDeserializer;
import com.ruoyi.common.core.pad.ChartLineDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提升机-间隙测试对象 data_tshj_jx
 * 
 * @author ruoyi
 * @date 2023-10-25
 */
@ApiModel(value = "提升机-间隙测试对象")
public class DataTshjJx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 油压及间隙测试ID */
    private Long jxId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    private Long dataTaskId;

    /** 数据ID */
    @ApiModelProperty(value = "数据ID")
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /** 左最大间隙 */
    @Excel(name = "左最大间隙")
    @ApiModelProperty(value = "左最大间隙")
    private String jxLeftMax;

    /** 右最大间隙 */
    @Excel(name = "右最大间隙")
    @ApiModelProperty(value = "右最大间隙")
    private String jxRightMax;

    /** 运行时间 */
    @Excel(name = "运行时间")
    @ApiModelProperty(value = "运行时间")
    private String yxshj;

    /** 0左偏摆、1右偏摆、2左右偏摆 */
    @Excel(name = "0左偏摆、1右偏摆、2左右偏摆")
    @ApiModelProperty(value = "0左偏摆、1右偏摆、2左右偏摆")
    private String cshType;

    /** 闸序号 */
    @Excel(name = "闸序号")
    @ApiModelProperty(value = "闸序号")
    private String zhaIndex;

    /** JSON-左位移数值List */
    @Excel(name = "JSON-左位移数值List")
    @ApiModelProperty(value = "JSON-左位移数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String wyLeftList;

    /** JSON-右位移数值List */
    @Excel(name = "JSON-右位移数值List")
    @ApiModelProperty(value = "JSON-右位移数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String wyRightList;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "保存时间")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO wyLeftChartLineDTO;

    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO wyRightChartLineDTO;

    public void setJxId(Long jxId) 
    {
        this.jxId = jxId;
    }

    public Long getJxId() 
    {
        return jxId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setJxLeftMax(String jxLeftMax)
    {
        this.jxLeftMax = jxLeftMax;
    }

    public String getJxLeftMax()
    {
        return jxLeftMax;
    }
    public void setJxRightMax(String jxRightMax)
    {
        this.jxRightMax = jxRightMax;
    }

    public String getJxRightMax()
    {
        return jxRightMax;
    }
    public void setYxshj(String yxshj) 
    {
        this.yxshj = yxshj;
    }

    public String getYxshj() 
    {
        return yxshj;
    }
    public void setCshType(String cshType) 
    {
        this.cshType = cshType;
    }

    public String getCshType() 
    {
        return cshType;
    }
    public void setZhaIndex(String zhaIndex) 
    {
        this.zhaIndex = zhaIndex;
    }

    public String getZhaIndex() 
    {
        return zhaIndex;
    }
    public void setWyLeftList(String wyLeftList)
    {
        this.wyLeftList = wyLeftList;
    }

    public String getWyLeftList()
    {
        return wyLeftList;
    }
    public void setWyRightList(String wyRightList)
    {
        this.wyRightList = wyRightList;
    }

    public String getWyRightList()
    {
        return wyRightList;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public ChartLineDTO getWyLeftChartLineDTO() {
        return wyLeftChartLineDTO;
    }

    public void setWyLeftChartLineDTO(ChartLineDTO wyLeftChartLineDTO) {
        this.wyLeftChartLineDTO = wyLeftChartLineDTO;
    }

    public ChartLineDTO getWyRightChartLineDTO() {
        return wyRightChartLineDTO;
    }

    public void setWyRightChartLineDTO(ChartLineDTO wyRightChartLineDTO) {
        this.wyRightChartLineDTO = wyRightChartLineDTO;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jxId", getJxId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("jxLeftmax", getJxLeftMax())
            .append("jxRightmax", getJxRightMax())
            .append("yxshj", getYxshj())
            .append("cshType", getCshType())
            .append("zhaIndex", getZhaIndex())
            .append("wyLeftList", getWyLeftList())
            .append("wyRightList", getWyRightList())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
